package com.ruibang.glass.equipment.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import com.ruibang.glass.equipment.domain.req.device.CraneReq;
import com.ruibang.glass.equipment.entity.device.Crane;
import com.teaming.cloud.framework2.common.model.ResultBody;


/**
 * <p>
 * 起重机械服务类
 * </p>
 *
 * @author mameng
 * @since 2024-03-20
 */
public interface CraneService extends IService<Crane> {
    /**
     * 起重设备列表
     * @param craneReq
     * @return
     */
    IPage<Crane> queryPage(CraneReq craneReq);
    /**
     * 跟新
     * @param elevator
     * @return
     */
    ResultBody updateOrAddById(Crane elevator);

}
